/*年轻人，只管向前看，不要管自暴自弃者的话*/
package com.composetest.page.guide

import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Button
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier

/**
 * create by itz on 2024/10/11 11:47
 * desc :
 **/

@Composable
fun GuideRoute(toBack: () -> Unit): Unit {
    GuideScreen(toBack = toBack)
}

@Composable
fun GuideScreen(toBack: () -> Unit): Unit {

    Box(modifier = Modifier.fillMaxSize()) {
        Text(text = "guide")
        Button(onClick = toBack) {
            Text("back")
        }
    }
}